Decode UIDs and HID credentials

This plug‑in supports two methods of extracting and formatting the raw data read from the card. These are DigitMask and BitMask, shared with the MIFARE Sector Decoder plug‑in. These options are applicable to both UIDs (from any card type) and HID credentials (either Prox or iClass).

DigitMask is used in conjunction with the OutputFormat setting. It may be used to extract and arrange whole digits from the card number after it has been interpreted, according to the selected OutputFormat.

BitMask operates on individual bits within the raw data of the UID or HID data. It can be used to discard start, stop and parity bits and to select which bits should be assigned to the facility code and which bits assigned to the card number. When using the BitMask option, the resulting card number and optional facility code are always returned as decimal values.

Note: The BitMask and DigitMask options cannot be used together for a given card type. (If both are accidentally specified then only the DigitMask option will be used).

FACDigits and CardNumDigits are options which may be used with either the DigitMask or BitMask options. They produce a consistent number of digits for the facility code or card number by adding leading zeros as required.

You control the Custom Format Decoder plug‑in in exactly the same way as for the MIFARE Sector Decoder plug‑in.